hackerrank ruby strings iteration solution

welcome to shbcf.ru